import {
  adminlogin,
  logout,
} from "./admin"

import {
  userPage,
  updateUser,
  userInfo,
  userDelete,
  changeForbidden
} from "./user"

import {
  webInfo,
  updateWebInfo
} from "./webinfo"

import {
  articlePage,
  articleInfo,
  articleSelect,
  articleDelete,
  addArticle,
  updateArticle,
  changeViewStatus,
  changeCommentStatus,
  changeRecommendStatus
} from "./arcitle"

import {
  sortPage,
  sortInfo,
  sortDelete,
  sortSelect,
  addSort,
  updateSort,
  labelList,
  labelSelect,
  labelInfo,
  labelDelete,
  addLabel,
  updateLabel
} from "./sort"

import {
  commentPage,
  commentDelete
} from "./comment"

import {
  menuTree,
  addMenu,
  updateMenu,
  deleteMenu,
  menuInfo
} from "./menu"

import {
  uploadFile,
  bgImageAdd,
  bgImagePage,
  bgImageDelete,
  checkImage
} from "./resource"

import {
  noticePage,
  addNotice,
  noticeInfo,
  updateNotice,
  deleteNotice,
  changeStatus
} from "./notice"

import {
  timeLinePage,
  addTimeLine,
  timeLineInfo,
  updateTimeLine,
  deleteTimeLine
} from "@/apis/timeLine";

import {
  addFamily,
  familyInfo,
  updateFamily
} from "@/apis/family";

import {
  friendPage,
  friendInfo,
  updateFriend,
  deleteFriend,
  changeFriendStatus
} from "@/apis/friend";

const createhttp = {
  adminlogin,
  logout,
  menuTree,
  userPage,
  updateUser,
  userInfo,
  userDelete,
  changeForbidden,
  webInfo,
  updateWebInfo,
  articlePage,
  articleInfo,
  articleSelect,
  articleDelete,
  addArticle,
  updateArticle,
  changeViewStatus,
  changeCommentStatus,
  changeRecommendStatus,
  sortPage,
  sortInfo,
  sortDelete,
  sortSelect,
  addSort,
  updateSort,
  labelList,
  labelSelect,
  labelInfo,
  labelDelete,
  addLabel,
  updateLabel,
  commentPage,
  commentDelete,
  addMenu,
  updateMenu,
  deleteMenu,
  menuInfo,
  uploadFile,
  noticePage,
  addNotice,
  noticeInfo,
  updateNotice,
  bgImageAdd,
  bgImagePage,
  bgImageDelete,
  checkImage,
  deleteNotice,
  changeStatus,
  timeLinePage,
  addTimeLine,
  timeLineInfo,
  updateTimeLine,
  deleteTimeLine,
  addFamily,
  familyInfo,
  updateFamily,
  friendPage,
  friendInfo,
  updateFriend,
  deleteFriend,
  changeFriendStatus
}

export default createhttp
